package com.nju.edu.android_app.callback;

import java.io.IOException;

import android.os.Message;

import com.nju.edu.android_app.SettingActivity;
import com.weibo.sdk.android.WeiboException;
import com.weibo.sdk.android.net.RequestListener;

public class LogoutListener implements RequestListener {

	private SettingActivity settingActivity;
	
	public LogoutListener(SettingActivity sa){
		this.settingActivity=sa;
	}
	
	@Override
	public void onComplete(String response) {
		// TODO Auto-generated method stub
		Message msg=new Message();
		settingActivity.logoutHandler.sendMessage(msg);
	}

	@Override
	public void onIOException(IOException e) {
		// TODO Auto-generated method stub

	}

	@Override
	public void onError(WeiboException e) {
		// TODO Auto-generated method stub

	}

}
